/**
 *  Copyright (C) 2008-2013  Telosys project org. ( http://www.telosys.org/ )
 *
 *  Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *          http://www.gnu.org/licenses/lgpl.html
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package org.telosys.common;

/**
 * Global Telosys constants
 * 
 * @author Laurent GUERIN
 *  
 */

public class TelosysConst
{
    
    public static final String POSTBACK_KEY        = "TELOSYS_POSTBACK";

    public static final String SCREEN_FORM_MARKER  = "__TELOSYS_SCREEN_FORM_MARKER__";

    public static final String RENDERER_BEAN       = "TELOSYS_RENDERER_BEAN";

    public static final String CURRENT_RENDERER    = "TELOSYS_CURRENT_RENDERER";

    public static final String TELOSYS_REDIRECT    = "Telosys-Redirect";
    
    
    //----------------------------------------------------------------------------
    // HTTP Response Types
    //----------------------------------------------------------------------------
    public final static String HTTP_CONTENT_TYPE_XML_UTF8     = "text/xml;charset=UTF-8" ; // v 1.0.5

    public final static String HTTP_CONTENT_TYPE_HTML_UTF8    = "text/html;charset=UTF-8" ; // v 1.0.5

    public final static String HTTP_CONTENT_TYPE_TEXT_UTF8    = "text/plain;charset=UTF-8" ; // v 1.0.5

    public final static String XML_PROLOG_ENCODING_UTF8  = "UTF-8" ; // v 1.0.5

    public final static String HTTP_CONTENT_TYPE_JSON_UTF8    = "application/json;charset=UTF-8";  // v 1.2.0
    // JSON Official Content type is "application/json" : IETF RFC-4627 
}